package com.frejoys.common.dto.app;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CategoryIdDto extends PageDto {


    @Schema(type = "Integer", name = "id", description = "品类id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "double", name = "lng", description = "经度", required = true, defaultValue = "1")
    private double lng;

    @Schema(type = "double", name = "lat", description = "纬度", required = true, defaultValue = "1")
    private double lat;

    @Schema(type = "Integer", name = "sort", description = "排序 1根据距离升序 2根据距离降序 3根据售出数量升序 4根据售出数量降序 5综合排序", required = true, defaultValue = "1")
    private Integer sort;

    @Schema(type = "String", name = "name", description = "商家名称", required = true, defaultValue = "蜜雪")
    private String name;
}
